package com.charlotte.study.gupao.proxy.common;


/**
 * @author junjie.ding
 * @date 2020/3/2
 */
public class Proxy {

    private ISubject subject;

    public Proxy(ISubject subject) {
        this.subject = subject;
    }

    public void request(){
        before();
        subject.request();
        after();
    }

    private void before(){

    }

    private void after(){

    }
}
